package com.yq.cp.entity.basics;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.yq.cp.entity.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 部门表
 * </p>
 *
 * @author shenyuqing
 * @since 2024-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_department")
public class Department extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 站点id
     */
    private Long siteId;

    /**
     * 部门名
     */
    private String name;
    /**
     * 站点名
     */
    @TableField(exist = false)
    private String siteName;

    @TableField(exist = false)
    private List<Position> positions;
}
